package net.huashitong.keyan.dao;

import com.sirdc.modules.core.dao.GenericQuery;
import com.sirdc.modules.core.dao.StringDao;
import net.huashitong.keyan.entity.ZhengxiangJili;
import net.huashitong.keyan.filter.ZhengxiangJiliFilter;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class ZhengxiangJiliDao extends StringDao<ZhengxiangJili> {

    public List<ZhengxiangJili> getList(ZhengxiangJiliFilter filter)
    {
        GenericQuery query = createQuery("obj");
        return query.listResult(filter);
    }
}
